package com.totoro.rpc.common.util;

import java.util.UUID;

/**
 * 字符串工具
 * Created by Niki on 2018/5/23 14:20
 */
public class StringUtils {
    private StringUtils(){}

    public static boolean isBlank(String string) {
        if (string == null || "".equals(string.trim())) {
            return true;
        }
        return false;
    }

    public static String randomUUID() {
        return UUID.randomUUID().toString();
    }
}
